FROM openjdk:8
VOLUME ["/data/jrtc","/agent","/data/cert"]
ADD target/api-1.0-SNAPSHOT.jar app.jar
EXPOSE 8080
ENTRYPOINT ["java","-javaagent:/agent/skywalking-agent.jar","-Xms512m", "-Xmx512m","-Djava.security.egd=file:/dev/./urandom","-jar","-Duser.timezone=GMT+8","/app.jar"]